<!DOCTYPE html>
<html>

{include file="Public:header" /}
<style>
    .chat-view .ibox-content {
        padding: 15px 20px 20px;
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">

    <div class="row">
        <div class="col-sm-12">

            <div class="ibox chat-view">

                <div class="ibox-title">
                    <!-- <small class="pull-right text-muted">最新消息：2015-02-02 18:39:23</small> -->
                    <h5>评论详情</h5>
                    <button onclick="history.go(-1);" style="margin-top: -6px;" class="btn btn-primary pull-right"><i
                            class="fa fa-arrow-left"></i> 返回
                    </button>
                </div>


                <div class="ibox-content">

                    <div class="row">

                        <div class="col-md-12 ">
                            <div class="chat-discussion" style="height:400px;">

                                <div class="ibox float-e-margins">
                                    <div class="ibox-title">
                                        <h5>用户评论</h5>
                                        <div class="ibox-tools">
                                            <span class="label label-warning-light">2015-02-02 18:39:23</span>
                                        </div>
                                    </div>
                                    <form method="post" action="{:U('make_detail')}">
                                    <div class="ibox-content">

                                        <div class="feed-activity-list">
                                            <div class="feed-element">
                                                <a href="profile.html" class="pull-left">
                                                    <img alt="image" class="img-circle"
                                                         src="{$comment['headimgurl']}">
                                                </a>
                                                <div class="media-body ">
                                                    <small class="pull-right">{$comment['ip_address']}</small>
                                                    <strong>{$comment['user_name']}</strong>
                                                    <br>
                                                    <small class="text-muted">{$comment['add_time']|date="Y-m-d
                                                        H:i:s",###}
                                                    </small>
                                                    <div class="well">
                                                        <textarea name="content" rows="5" class="form-control" style="width:100%">
                                                            {$comment['content']}
                                                        </textarea>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="ibox-content" style="border-style:none;padding: 16px 0;height: 65px;">
                                        <div class="form-group" >
                                            <label class="col-sm-1 control-label" style="    margin-top: 8px;">是否显示</label>
                                            <div class="i-check col-sm-6" style="line-height: 30px;">
                                                <input type="radio" name="status" value="0" <?php if($comment['status'] == 0) echo 'checked="checked"'; ?> >&nbsp;否&nbsp;
                                                <input type="radio" name="status" value="1" <?php if($comment['status'] == 1) echo 'checked="checked"'; ?> >&nbsp;是&nbsp;

                                            </div>
                                        </div>
                                    </div>
                                    <div class="ibox-content" style="border-style:none">
                                        <button id="save" class="btn btn-primary" type="submit">保存</button>
                                    </div>
                                        <input name="id" type="hidden" value="{$comment['id']}">
                                    </form>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
{include file="Public:footer" /}

</body>

</html>
